package com.niubility.exception;

import org.apache.log4j.Logger;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

public class CustomException extends Exception{
    Logger logger = Logger.getLogger("CustomException");
    public CustomException() {
        super("删除失败",new Exception("底层业务逻辑错误"));
        logger.debug("业务处理失败");
        System.out.println("业务处理失败");

    }
}
